from celery import task

from utils.sms import TencentSms


# 发送短信验证码异步任务
@task
def send_sms_c(phone, code):
    ten = TencentSms()
    ten.send(phone, code)
